/**
 * 2014-4-6 下午12:59:11
 * IndUX
 */
package com.indux.prefset.util;

/**
 * @author IndUX
 *
 */
public class NumberUtil
{
	public static int getInt(float f)
	{
		return Float.valueOf(f).intValue();
	}
	
	public static String getString(float f)
	{
		return String.valueOf(getInt(f));
	}
	
	public static String getString(double d)
	{
		return String.valueOf(Double.valueOf(d).longValue());
	}
}
